package com.bdqn.service;
import com.bdqn.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserService {
    int getCount();
    List<SysUser> List(@Param("pageIndex")int pageIndex, @Param("pageSize")int pageSize, @Param("queryRealName") String queryRealName, @Param("queryRoleId") Integer queryRoleId);
     //用户登录
    SysUser login(String account, String password);

//    //12章示例23
//  public SysUser login(String account, String password) throws Exception;
}
